#!/usr/bin/sh

source $(pwd)/common.sh

#close the iptables
sudo service iptables stop &&
#restart the sshd
sudo service sshd restart &&
#start the mysql
sudo service mysqld restart &&
#start hadoop
sh $hadoop_base_path/sbin/start-dfs.sh && sh $hadoop_base_path/sbin/start-yarn.sh
#start hbase
sh $hbase_base_path/bin/start-hbase.sh
